package com.example.xsssglxt.service;

import com.example.xsssglxt.entity.Sushe;
import com.example.xsssglxt.mapper.SusheMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SusheService {
    @Autowired
    private SusheMapper susheMapper;
    public  int sushe(Sushe sushe){
        return susheMapper.insert(sushe);
    }
    public int changesushe(Sushe sushe){
        return  susheMapper.update(sushe);
    }
}
